package com.niit.blog.convert;

import com.niit.blog.entity.Dto.BlogClientDto;
import com.niit.blog.entity.domain.Blog;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface BlogClientConverter {
    BlogClientConverter INSTACE = Mappers.getMapper(BlogClientConverter.class);


    //类型转换
    BlogClientDto convertBlogToBlogClientDto(Blog blog);






}
